Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set sphinx module path #516

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

hakonhagland
Copy link
Contributor

Sphinx module path should be set to ../src not .. for sphinx autodoc extension to work locally when typing make html from the docs folder. If not, sphinx-build might use a source file from pytest-qt installed in the python site-packages directory outside the git repo which is obviously not correct (and very frustrating to debug :) )

Sphinx module path should be set to "../src" not ".." for autodoc to
work locally when typing "make html" from the "docs" folder. If not,
sphinx-build might use a source file from pytest-qt installed in
site-packages outside the git repo.
@nicoddemus
Copy link
Member

Thanks! Seems we never noticed because on RTD we install pytest-qt on the virtualenv. 👍

@nicoddemus nicoddemus merged commit d12ee94 into pytest-dev:master Aug 29, 2023
45 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants